<?php session_start(); $_SESSION['page'] = 'library';?>
<!doctype html public "-//W3C//DTD HTML 4.01//EN">

<html>

   <head>
      <title>Library Profile</title>
      <meta http-equiv="generator" content="PHP Designer 2005" />
      <style type="text/css">
        @import url(style.css);
      </style>
   </head>

   <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000" class='content'>

    <form>
    <table border='1' width='80%' align='center' class='content'>
        <tr><td><img src='images/banner.gif' /></td></tr>
        <tr><td align='right' colspan='3'>LogIn/LogOut</td></tr>
        <tr><td><?php  require('buttons.php'); ?></td></tr>
        <tr><td height='30'></td></tr>
        <tr><td>
            <table align='center'>
                <tr><td>Library</td>
                    <td><select name='category'>
                    <?php
                          require('db_connection.php');
                          $query = "SELECT libraryName, libraryNo FROM tbllibrary";
                          $result = mysql_query($query);
                          while ($row = mysql_fetch_array($result))
                            {
                                        $libraryNo = $row['libraryNo'];
                                        $location = $row['libraryName'];
                                        echo"<option value=$libraryNo>"." $location "." ";
                            }

                    ?>
                        </select>
                    </td>
                </tr>
            </table>
            </td>
        </tr>
        <tr><td>
            <table align='center'>
                <tr><td height='15'></td></tr>
                <tr><td class='title' colspan='2'>Library Profile</td></tr>
                <tr><td height='15'></td></tr>
                <tr><td>Library Name/Municipality</td><td></td></tr>
                <tr><td>Address</td><td></td></tr>
                <tr><td>Contact No</td><td></td></tr>
                <tr><td>Brief Description/History of the Library</td><td></td></tr>
                <tr>
                    <table width='60%' align='center'>
                        <tr><td height='30'></td></tr>
                        <tr align='left'><td class='title' colspan='3'>Staffs</td></tr>
                        <tr><td height='15'></td></tr>
                        <tr><td>Name of Staff</td>
                            <td>Designation</td>
                            <td>Contact No.</td></tr>
                        <tr><td height='30'></td></tr>
                    </table>
                </tr>
            </table>
            </td>
        </tr>
    </table>
    </form>
    
   </body>
</html>
